#include "StdAfx.h"
#include "ClientEngine.h"

using namespace webrtc;

#include "voe_base.h"
#include "voe_hardware.h"
#include "voe_errors.h"
#include "voe_file.h"
#include "voe_volume_control.h"
#include "vie_base.h"
#include "vie_capture.h"
#include "vie_errors.h"
#include "vie_file.h"
#include "vie_render.h"
#include "vie_network.h"
#include "vie_rtp_rtcp.h"
#include "vie_codec.h"

bool CClientEngine::CClientEngine(void)
	{
		VoiceEngine* voe = VoiceEngine::Create();
		VoEBase* base = VoEBase::GetInterface(voe);
		base->Init();
		int ch = base->CreateChannel();
		base->SetSendDestination(0, 55555, "192.168.129.51");
		base->StartPlayout(ch);
	}
bool CClientEngine::~CClientEngine(void)
	{
		// base->DeleteChannel(ch);
		// base->Terminate();
		// base->Release();
		// VoiceEngine::Delete(voe);
	}